package com.zss.admin.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zss.admin.mapper.AdminAreaMapper;
import com.zss.admin.service.AdminAreaService;
import com.zss.pojo.TbArea;
import com.zss.pojo.vo.TbAreaVo;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class AdminAreaServiceImpl extends ServiceImpl<AdminAreaMapper,TbArea> implements AdminAreaService {

    @Resource
    AdminAreaMapper adminAreaMapper;

    @Override
    public List<TbArea> list() {
        return adminAreaMapper.list();
    }

    @Override
    public List<TbAreaVo> selectListAll() {
        return adminAreaMapper.selectListAll();
    }
}
